package com.pluszg.nutrition.api.controller.gateway;

import com.pluszg.nutrition.common.resp.CommonResponse;
import com.pluszg.nutrition.model.product.Product;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@RequestMapping("/index")
@Api(tags = "首页接口", value = "Index API")
public interface IndexController {

    @GetMapping("/{id}")
    @ApiOperation(value = "首页查询接口")
    CommonResponse<Void> findById(@PathVariable(value = "id") String id);
}
